package com.laoba.av;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1. 整合Mybatis-Plus 引入依赖
 * 2. 配置数据源
 * @MapperScan扫描 (还对应的mapper映射文件 如果有复杂的sql我们可以自己修改使用)
 */
@MapperScan("com.laoba.av.product.dao")
@SpringBootApplication
@EnableDiscoveryClient
public class GuiliProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuiliProductApplication.class, args);
    }

}
